//==============================================================================
// armory_anim.txt
//==============================================================================

import Construction_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Small
            }
         }
      }
   }
}

//==============================================================================
define GenericSmoke
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Generic Smoke Medium
      }
   }  
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define ACC3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Armory Acc V3
      }
   }
}

//==============================================================================
define Floor
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Armory V2 Acc
      }
   }
}

//==============================================================================
define Roof
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Armory V2 AccB
      }
   }
}

//==============================================================================
define RoofAGE3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Armory V2 AccB
replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define RoofAGE4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Armory V2 AccB
replacetexture building e age2/building e age4
      }
   }
}

//==============================================================================
define Floorage3
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Armory V2 Acc
Replacetexture building e age2/building e age3
      }
   }
}

//==============================================================================
define Floorage4
{
   set hotspot
   {
      version
      {
         Visual Building Beta E Armory V2 Acc
Replacetexture building e age2/building e age4
      }
   }
}

//==============================================================================
anim Idle
{
   SetSelector
   {
		TechLogic none/age 2/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
ReplaceTexture Building E Age3/building e age2 Siege Camp
                        connect rightfoot ACC3 hotspot
                        connect hotspot Floor hotspot
                        connect hotspot Roof hotspot
					connect ATTACHPOINT empower hotspot
                         connect Chin Shield hotspot
				 Connect attachpoint GenericSmoke hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age1/norsemod age1
                                        Replacetexture building e age2 accessories/norse mod acces1
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age1/norsemod age1
                                        Replacetexture building e age2 accessories/norse mod acces1
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age1/norsemod age1
                                        Replacetexture building e age2 accessories/norse mod acces1
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
                        connect rightfoot ACC3 hotspot
ReplaceTexture Building E Age3/building e age2 Siege Camp
                        connect hotspot Floor hotspot
                        connect hotspot Roof hotspot
                         connect Chin Shield hotspot
				 Connect attachpoint GenericSmoke hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age2/norsemod age2
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
                        connect hotspot Floorage3 hotspot
                        connect hotspot RoofAge3 hotspot
                        connect rightfoot ACC3 hotspot
                         connect Chin Shield hotspot
				 Connect attachpoint GenericSmoke hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age3/norsemod age3
                                        Replacetexture building e age3a accessories/storehouse age3 accessories
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
ReplaceTexture Building E Age3/building e age4 Siege Camp
                        connect hotspot Floorage4 hotspot
                        connect hotspot RoofAge4 hotspot
                        connect rightfoot ACC3 hotspot
                         connect Chin Shield hotspot
				 Connect attachpoint GenericSmoke hotspot
					connect ATTACHPOINT empower hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
                                        Replacetexture building e age4/norsemod age4
                                        Replacetexture building e age4roof/storehouse age4 accessories
                                        Replacetexture building e age2 accessories/norse mod acces2
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
		TechLogic none/age 2/age 3/age 4
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
                        connect hotspot Floor hotspot
                        connect hotspot Roof hotspot
ReplaceTexture Building E Age3/building e age2 Siege Camp
                        connect rightfoot ACC3 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
                        connect hotspot Floor hotspot
                        connect hotspot Roof hotspot
ReplaceTexture Building E Age3/building e age2 Siege Camp
                        connect rightfoot ACC3 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
                        connect hotspot RoofAge3 hotspot
                        connect hotspot Floorage3 hotspot
                        connect rightfoot ACC3 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
			Visual Building Beta E Armory V2
                        connect hotspot RoofAge4 hotspot
ReplaceTexture Building E Age3/building e age4 Siege Camp
                        connect hotspot Floorage4 hotspot
                        connect rightfoot ACC3 hotspot
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect ATTACHPOINT empower hotspot
					connect CHIN E_Small_Brick hotspot
					connect FACE E_Medium_Brick hotspot
					connect ATTACHPOINT E_Long_Brick hotspot
				}
			}
		}
	}
}


